package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.TempleAnswerDelTask.TempleAnswerDelRequest;
import com.smiier.skin.net.TempleAnswerDelTask.TempleAnswerDelResponse;
import com.smiier.skin.util.GlobalSettings;

/**
 * 删除模板
 * 
 * @author 杨文华
 * 
 */
public class TempleAnswerDelTask extends
		NetTask<TempleAnswerDelRequest, TempleAnswerDelResponse> {

	public static class TempleAnswerDelRequest extends ORequest {
		public String token;
		public ArrayList<Long> taids;
		public String appname = Constant.APP_NAME;
	}

	public static class TempleAnswerDelResponse extends OResponse {
		public int Res = GlobalSettings.IS_FALSE;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Temple.Answer.Del";
		mRequestMethod = METHOD_GET;
	}

}
